<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>登录</title>
	</head>

	<body>
		<center>
			<form action="<%=basePath %>login.action" method="post">
				<table border="1" width="25%">
					<tr>
						<td align="right">
							 姓名：
							<br>
						</td>
						<td>
							<input type="text" name="name">
						</td>
					</tr>
					<tr>
						<td align="right">
							密码：
						</td>
						<td>
							<input type="password" name="password">
						</td>
					</tr>
					<tr>
						<td align="right">
							<input type="submit" value="登录" name="button1">
						</td>
						<td>
							&nbsp;
							<input type="reset" value="重置" name="button2">
						</td>
					</tr>
				</table>
			</form>
<font color="#ff0000">			${error}
</font>		</center>
	</body>
</html>
